package cn.italkcloud.cph.constants;


/**
 * 通用常量
 *
 * @author dominate
 * @since 2022/02/12
 */
public class SysConstant {

    public static final String HEADER_TOKEN = "X-User-Token";

    public static final String HEADER_API_TOKEN = "X-App-Token";

    public static final String HEADER_APP_TENANT = "App-Tenant";

    public static final String DEPARTMENT_DESR_SPLIT = "/";


    // 定义集合工具常量

    public static final int INIT_MAP_SIZE = 16;
    public static final int INIT_LIST_SIZE = 10;


    // 系统常量

    /**
     * 默认管理员ID
     */
    public static final Integer DEFAULT_ADMIN_USER_ID = 1;

    public static final int EMPTY_TENANT_ID = -1;
    public static final String EMPTY_TENANT_NAME = "未设置";
    public static final int ADMIN_TENANT_ID = 0;
    public static final String ADMIN_TENANT_NAME = "全局";

    // 名称类常量

    public static final int EMPTY_PARENT_ID = -1;
    public static final int DEFAULT_PARENT_ID = 0;
    public static final int DEFAULT_ID = 0;


}
